package cn.edu.lingnan.demo3.demo3Service;

import cn.edu.lingnan.demo3.demo3Dao.UserMapper3;
import cn.edu.lingnan.demo3.demo3Dao.UserMapperMysqlImpl3;

public class UserServiceMysqlImpl3 implements UserService3 {

    @Override
    public void query() {
        System.out.println("MySql的查询逻辑实现");
        UserMapper3 userMapperMysqlImpl1=new UserMapperMysqlImpl3();
        userMapperMysqlImpl1.query();
    }

    @Override
    public void insert() {
        System.out.println("MySql的插入逻辑实现");
        UserMapper3 userMapperMysqlImpl1=new UserMapperMysqlImpl3();
        userMapperMysqlImpl1.insert();
    }

    @Override
    public void update() {
        System.out.println("MySql的修改逻辑实现");
        UserMapper3 userMapperMysqlImpl1=new UserMapperMysqlImpl3();
        userMapperMysqlImpl1.update();
    }

    @Override
    public void delete() {
        System.out.println("MySql的删除逻辑实现");
        UserMapper3 userMapperMysqlImpl1=new UserMapperMysqlImpl3();
        userMapperMysqlImpl1.delete();
    }
}
